<template>
    <div class="platform-header">

        <img class="logo" src="~@/assets/logo.png" >

        <Dropdown class="user-menu" trigger="click" placement="bottom-end">
            <a href="javascript:void(0)">
                希尔瓦娜斯
                <Icon type="ios-arrow-down"></Icon>
            </a>
            <DropdownMenu slot="list">
                <DropdownItem>个人信息</DropdownItem>
                <DropdownItem divided>平台管理</DropdownItem>
                <DropdownItem>CMS管理</DropdownItem>
                <DropdownItem divided>注销</DropdownItem>
                <DropdownItem>退出</DropdownItem>
            </DropdownMenu>
        </Dropdown>

    </div>
</template>
<script>
    export default {
        name: "header",
        components: {
        },
        methods: {
            minWindow() {
                ipcRenderer.send('min-window', "min-window")
            },
            maxWindow() {
                ipcRenderer.send('max-window', "max-window")
            },
            closeWindow() {
                ipcRenderer.send('close-window', "close-window")
            }
        }
    }
</script>

<style scoped>
.platform-header {
    height: 50px;
}
.logo {
    position: relative;
    top: 5px;
    height: 40px;
}
.user-menu {
    position: absolute;
    top: 0px;
    right: 10px;
    line-height: 50px;
    font-size: 16px;
    color: #ffffff;
}
.user-menu a {
    color: #ffffff;
}
</style>